<template>
<div class="flex c1" style="flex:1;">
	<div class="c4">名称：</div>
	<el-input v-model="element.name" clearable/>
</div>
<div class="flex" style="flex:1;">
	<div class="c4">内容：</div>
	<el-input v-model="element.value" clearable/>
</div>
</template>

<script setup>
	import publicJS from "@/hook/public.js";
	const {config} = publicJS();
	const emit = defineEmits(["selectImg"]);//自定义事件
	const props = defineProps({
		element: {
			type:Object,
			default:()=>{
				return {}
			}
		}
	})
</script>

<style scoped lang="scss">
	// padding: 20px 0;
	.el-input{width: 100%;}
	.c1{margin-right: 20px;}
	.c4{
		font-size:14px;
		width: 50px;
	}
</style>